package cn.fan.shirotoken.domian;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Set;


/**
 * @author HTHLKJ
 */
@TableName
@Data
public class Role {

    @TableId
    private Integer roleId;
    private String roleName;

    @TableField(exist = false)
    private Set<Permission> permissions;
}
